package com.frejoys.common.dto.admin;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserLevelListDto extends PageDto {

    @Schema(type = "Long", name = "userId", description = "推荐人用户ID", required = true, defaultValue = "1")
    private Long userId;

    @Schema(type = "String", name = "phone", description = "推荐人电话", required = true, defaultValue = "15328888888")
    private String phone;

    @Schema(type = "String", name = "code", description = "推荐人邀请码", required = true, defaultValue = "ziM95")
    private String code;

    @Schema(type = "Integer", name = "type", description = "类型 : 1 推荐人 2 被推荐人 3 推荐人父级", required = true, defaultValue = "15328888888")
    private Integer type;
}
